package com.atguigu08._interface.exer1;



/**
 * ClassName: Eatable
 * Package: com.atguigu08._interface.exer1
 * Description:
 *
 * @Author xiao_qi
 * @Create 2024/9/3 21:28
 * @Version 1.0
 */
public interface Eatable {
    void eat();



}
class American implements Eatable{

    @Override
    public void eat() {
        System.out.println("刀叉吃饭");
    }
}
class Indian implements Eatable{

    @Override
    public void eat() {
        System.out.println("用手抓饭");
    }
}